-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.6.4
-
Code
-
Classes
- MediaLibraryThumbnailModel
Total Complexity |
99 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
577 |
Lines of code |
383 |
Logical lines of code |
192 |
Comment lines |
53 |
Methods |
31 |
Properties |
7 |
Methods 31
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
hasBackup() |
A |
46 |
12 |
39 |
getBackupFile() |
A |
46 |
10 |
38 |
getURL() |
A |
49 |
8 |
32 |
createBackup() |
A |
45 |
7 |
44 |
restore() |
S |
50 |
6 |
31 |
isFileTypeNeeded() |
S |
59 |
7 |
14 |
getBackupFileName() |
S |
57 |
5 |
17 |
getRetina() |
S |
50 |
4 |
28 |
isThumbnailProcessable() |
S |
62 |
4 |
12 |
onDelete() |
S |
59 |
3 |
17 |
hasDBRecord() |
S |
60 |
3 |
13 |
__debugInfo() |
S |
60 |
3 |
13 |
getOptimizeUrls() |
S |
66 |
3 |
10 |
isProcessableFileType() |
S |
72 |
3 |
5 |
isSizeExcluded() |
S |
64 |
3 |
10 |
getExcludePatterns() |
S |
65 |
2 |
9 |
isUnlisted() |
S |
71 |
2 |
6 |
excludeThumbnails() |
S |
79 |
1 |
3 |
__construct() |
S |
68 |
1 |
7 |
resetPrevent() |
S |
82 |
1 |
3 |
isOptimizePrevented() |
S |
82 |
1 |
3 |
preventNextTry() |
S |
81 |
1 |
3 |
loadMeta() |
S |
91 |
1 |
2 |
getImprovements() |
S |
80 |
1 |
3 |
getMetaObj() |
S |
82 |
1 |
3 |
setMetaObj() |
S |
80 |
1 |
3 |
setImageType() |
S |
81 |
1 |
3 |
setSizeDefinition() |
S |
81 |
1 |
3 |
setName() |
S |
81 |
1 |
3 |
saveMeta() |
S |
91 |
1 |
2 |
getMainFile() |
S |
75 |
1 |
4 |